|
|
|
Count number of words with the RegExp object
|
Total Hit (3777) |
A Visual Basic function that counts the number of words in a sentence or text file can become quickly very complex, and usually doesn't execute fast enough for most purposes. Thanks to the RegEx object that comes with the Microsoft VBScript Regular Expression type library, this task becomes trivial.
....Read More |
Rating
|
|
|
Search multiple substrings with the RegExp object
|
Total Hit (3727) |
The RegExp object in the Microsoft VBScript Regular Expression type library supports regular expression patterns containing the | (or) operator, which lets you search for multiple substrings at the same time. For example, the following piece of code lets you search for a month name in a source text:
....Read More |
Rating
|
|
|
Leverage Regular Expressions
|
Total Hit (1986) |
Regular expressions provide a simple and efficient way—far beyond the capabilities most conventional programming languages offer—to search and replace text. However, relatively few developers are familiar with this powerful tool. I'll explain how you can leverage regular expressions from VB.NET to s
....Read More |
Rating
|
|
|
Formatting with Regular Expressions
|
Total Hit (2853) |
If you're familiar with regular expressions, you know that they can be used for pattern matching and replacement in strings. (If you are not familiar with regular expressions, you're missing out on a powerful technology that has a myriad of applications. Read An Introduction to Regular Expressions t
....Read More |
Rating
|
|
|
Validate What? Using Regular Expressions to Validate Input
|
Total Hit (1733) |
Validating user input is a basic but very necessary part of web development, especially when dealing with databases. Queries don't go too well when you have !@)#&#$*%?= in the search field. So we have to build a function that searches the input string for illegal characters (defined by you) and then
....Read More |
Rating
|
|
|
|
C# Regex - Parsing URLs With Regular Expressions
|
Total Hit (3865) |
While the .NET Framework contains a class call Uri which provides a lot of functionality when dealing with URLs and URIs, it's not always easy to get at the pieces of a URL. I present a technique here using regular expressions to extract the subparts of a URI in one fell swoop. But first let's talk
....Read More |
Rating
|
|
|
Effective Email Address Validation
|
Total Hit (741) |
In this article, we would discuss a very brief and overall technique to verify the email addresses of the users that signup for a web account.
|
Rating
|
|
|
|
|
User Tips: Converting URLs into Hyperlinks
|
Total Hit (2020) |
I just finished reading Designing Active Server Pages and was inspired by the regular expressions section. I would like to contribute some code... two functions which are fresh out of the oven!
These functions are to cater for web content stored in a database where URLs & email address are part
....Read More |
Rating
|
|
|
How Do I...Use Regular Expressions to make replacements?
|
Total Hit (739) |
The Regular Expressions library can often ease the time it takes to generate string replacement functions. By specifying a pattern of strings to be replaced, you do not have to search for every possible variation of a string. Once a Regex object that matches every possible string to be replaced is c
....Read More |
Rating
|
|
|
Internal Site Search Engine
|
Total Hit (623) |
Site Search Engine searches an entire page and also dynamic pages for matching keyword(s) or a phrase and will count how many times the keyword(s) or phrase are found on the page, and displays the results with the highest matches first.
|
Rating
|
|
|
Server Control Form Validation
|
Total Hit (483) |
«LI» Introduction to Validation
«LI» Types of Validation Controls
«LI» Client-Side Validation
«LI» Displaying Validation Errors
«LI» Working with CompareValidator
«LI» Working with RangeValidator
«LI» Working with Regular Expressions
«LI» Performing Custom Validation
«LI» B
....Read More |
Rating
|
|
|
|
VB.NET & C# comparison cheat sheets
|
Total Hit (4179) |
Because developing with the .NET framework gives you the freedom to use multiple languages it can be a bit of a hassle to choose between them. VB.NET and C# are probably the most wide spread languages and a question that gets asked regularly on the ASP.NET forums is which one to choose. My answer: l
....Read More |
Rating
|
|
|
Working with Reporting Services Using Microsoft Sharepoint
|
Total Hit (1357) |
There are many instances in which the business process requires executive reports or some company performance reports to show up on intranet sites. Companies do use different portals to build their intranet sites. Microsoft’s SharePoint technology is one such tool. The main task is how we display th
....Read More |
Rating
|
|
|
How the System Deals with Text
|
Total Hit (1920) |
This chapter describes how text is used in a typical computer operating system. Specific descriptions are given of how text is used in Visual Basic .NET. This chapter will show some examples to set the context of how text processing was performed before Visual Basic .NET and the .NET Framework. With
....Read More |
Rating
|
|
|
|
|
DataCalendar
|
Total Hit (661) |
A data-driven, templated sub-class of the ASP.NET Calendar control
|
Rating
|
|